package top.liubaiblog.blog.service;

import top.liubaiblog.blog.message.EmailMessage;

/**
 * @author 留白
 * @description
 */
public interface EmailService {
    /**
     * 发送邮件
     */
    void send(EmailMessage emailMessage);

    /**
     * 登录发送验证码
     */
    String loginSendCode(String account);

    /**
     * 注册过程中发送验证码
     */
    String registerSendCode(String emailAddr);
}
